var copyToClipboard = function (txt) {
	if ( Ext.isAir )
	{
		air.Clipboard.generalClipboard.clear();
		air.Clipboard.generalClipboard.setData(air.ClipboardFormats.TEXT_FORMAT, txt, false);
	}
};

var getFromClipboard = function () {
	var text = "";
	if ( Ext.isAir )
	{
		text = air.Clipboard.generalClipboard.getData( air.ClipboardFormats.TEXT_FORMAT );

		if (text == null)
			text = "";
	}

	return text;
};